//************************************************ 
//  *Author：DGZ
//  *Contact：jiduxiong@dagongzao.com
//  *代码由框架生成,任何更改都可能导致被代码生成器覆盖
//  *业务请在Product_Info.js中编写
//************************************************ 
export default function() {
	return {
		editFormFields: {"Name":"","Grade":"","Plating":""},
		editFormOptions: [{"title":"产品代码","field":"Name","type":"text"},
                               {"key":"BF_Grade","data":[],"title":"性能","field":"Grade","disabled":true,"type":"select"},
                               {"key":"BF_Plating","data":[],"title":"镀层","field":"Plating","disabled":true,"type":"select"}],
		searchFormFields: {"Name":"","Grade":"","Plating":""},
		searchFormOptions: [{"key":"BF_Grade","data":[],"title":"性能","field":"Grade"},{"key":"BF_Plating","data":[],"title":"镀层","field":"Plating"},{"type":"group"},{"title":"产品代码","field":"Name","type":"like"}],
		columns: [{field:"Name",title:"产品代码",type:"string",showOverflowTooltip:true},
                       {field:"Grade",title:"性能",type:"string",bind:{ key:"BF_Grade",data:[]},readonly:true,showOverflowTooltip:true},
                       {field:"Plating",title:"镀层",type:"string",bind:{ key:"BF_Plating",data:[]},readonly:true,showOverflowTooltip:true}],
		table: {
			key: "Id",
			footer: "Foots",
			cnName: "产品工艺单录入",
			name: "Product_Info",
			url: "/Product_Info/",
			sortName: "Id"
		}
	}
}
